﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;

namespace MyEconomy.Data
{
    class SessionUtil
    {
        public static ISession SessionInstance
        {
            get 
            {
                return SessionFactory.Current.OpenSession();
            }
        }
    }
}
